package com.heima.xxl.demo;


import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

@Component
public class ComputHotArticle {
    public ComputHotArticle(){
        System.out.println("LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL");
    }



    @XxlJob("abcdefg")
    public ReturnT<String> demoJobHandler(String param) throws Exception {
        System.out.println("SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS");
        return ReturnT.SUCCESS;
    }

}